<template>
  <div class="home">
      <Header />
      <div class="conatiner">
        <Aside />

        <div class="main-box">
          <el-main>
            <router-view></router-view>
            
          </el-main>
          
        </div>
      </div>
  </div>
</template>

<script>
import Header from "../components/Header.vue";
import Aside from "../components/Aside.vue";
// import Welcome from "../components/Welcome.vue";
export default {
  name: "Home",
  data() {
    return {
    };
  },

  components: {
    Header,
    Aside,
    // Welcome
  },
  created(){
    this.getUserListData;
  },
  methods:{
    getUserListData(){
      this.axios({
        method:'get',
        url:'/users',
        params:{
          pagenum:1,
          pagesize:10
        }
      }).then(res=>{
        
      }).catch(err=>{
        
      })
    }
  }
};
</script>


<style lang="less" scoped>
.home {
  background-color: #fff;
  .conatiner {
    display: flex;

  }
}


</style>